package com.woniu.bean;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;



/*

DROP TABLE IF EXISTS `orders`;

create table orders (
	oid int AUTO_INCREMENT,
	 money double,
	 state int,
	 receive_info varchar(255),
	 pho_num varchar(255) ,
	 order_time datetime,
		user_id int,
		accepter varchar(100) ,
	PRIMARY KEY (oid)
);

-- ----------------------------
-- Records of orders
-- ----------------------------
INSERT INTO `orders` VALUES (1, 2685, 0, NULL, NULL, '2018-03-18 21:10:00', 3, '西门吹雪');
INSERT INTO `orders` VALUES (2, 2685, 1, '上海市静安区', '13913812312', '2018-03-18 21:12:16', 3, '嗷大猫');
INSERT INTO `orders` VALUES (3, 12952, 0, NULL, NULL, '2018-03-04 17:37:01', 1, '哈哈呵呵');


* */

@Data
@TableName("orders")
public class Orders {

    private Integer oid;

    private Double money;

    private Integer state;

    private String receiveInfo;

    private String phoNum;

    private Date orderTime;

    private Integer uid;

    private String accepter;

/*    @TableField(exist = false)
    private User user;*/

}
